namespace AdminApiTemplate.Api.Attributes
{
    /// <summary>
    /// 需要权限验证
    /// </summary>
    [AttributeUsage(AttributeTargets.Method)]
    public class PermissionRequiredAttribute : Attribute
    {
        /// <summary>
        /// 权限编码
        /// </summary>
        public string PermissionCode { get; set; }
    }
}
